<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="In GaussDB (DWS) 8.0.0, Restoration to a New Cluster Using a Cluster Copy Fails Because the Node that Delivers the Restoration Command Fails to Copy the cluster_static_config File">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="en-us_topic_0000002164597706.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="">
<meta name="DC.Publisher" content="20250306">
<meta name="prodname" content="csbs">
<meta name="documenttype" content="usermanual">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="EN-US_TOPIC_0000002199998425">
<meta name="DC.Language" content="en-us">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>In GaussDB (DWS) 8.0.0, Restoration to a New Cluster Using a Cluster Copy Fails Because the Node that Delivers the Restoration Command Fails to Copy the cluster_static_config File</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="EN-US_TOPIC_0000002199998425"></a><a name="EN-US_TOPIC_0000002199998425"></a>

<h1 class="topictitle1">In GaussDB (DWS) 8.0.0, Restoration to a New Cluster Using a Cluster Copy Fails Because the Node that Delivers the Restoration Command Fails to Copy the <strong>cluster_static_config</strong> File</h1>
<div><div class="section"><h4 class="sectiontitle">Fault Symptom</h4><p>In GaussDB (DWS) 8.0.0, if a cluster copy fails to be used for the restoration to a new cluster, the message "<strong>the Roach command fails to be executed</strong>" is displayed in the job details.</p>
</div>
<div class="section"><h4 class="sectiontitle">Possible Cause</h4><p>The metadata of the GaussDB (DWS) node that delivers the restoration command has been successfully restored. However, an error occurs when the <strong>cluster_static_config</strong> file is copied to another node. As a result, the data restoration fails.</p>
</div>
<div class="section"><h4 class="sectiontitle">Suggestion</h4><ol><li><span>Use PuTTY to log in to the CN in the GaussDB (DWS) cluster where the client has been deployed.</span></li><li id="EN-US_TOPIC_0000002199998425__li1047516520486"><a name="EN-US_TOPIC_0000002199998425__li1047516520486"></a><a name="li1047516520486"></a><span>Run the following commands in sequence to switch to the cluster user and load environment variables:</span><p><pre class="screen">su - <em>Cluster username</em></pre>
<pre class="screen">source <em>Environment variable file path</em></pre>
</p></li><li id="EN-US_TOPIC_0000002199998425__li17991838125416"><a name="EN-US_TOPIC_0000002199998425__li17991838125416"></a><a name="li17991838125416"></a><span>Run the <strong>cd $GAUSSLOG/ roach/controller/</strong> command to go to the log file directory and check whether the log file whose name starts with <span class="uicontrol"><b>roach_controller</b></span> contains the following error information:</span><p><p>cluster_static_config: No such file or directory</p>
<p>Example:</p>
<p><span><img src="en-us_image_0000002199998529.png"></span></p>
<ul><li>If error information is displayed, perform the restoration job again.</li><li>If no error information is contained, go to <a href="#EN-US_TOPIC_0000002199998425__li1246910361002">4</a>.</li></ul>
</p></li><li id="EN-US_TOPIC_0000002199998425__li1246910361002"><a name="EN-US_TOPIC_0000002199998425__li1246910361002"></a><a name="li1246910361002"></a><span>Log in to other CNs in the GaussDB (DWS) cluster where the client has been deployed and perform <a href="#EN-US_TOPIC_0000002199998425__li1047516520486">2</a> to <a href="#EN-US_TOPIC_0000002199998425__li17991838125416">3</a>. If no node contains the error information, collect logs and contact Huawei technical support engineers.</span></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0000002164597706.html">FAQs</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">Copyright &copy; Huawei Technologies Co., Ltd.</div></body>
</html>